package cn.tedu.bece.front.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class Baby {
    @ApiModelProperty(value = "宝宝id")
    private Integer id;
    @ApiModelProperty(value = "宝宝头像")
    private String avatar;
    @ApiModelProperty(value = "宝宝昵称")
    private String nickname;
    @ApiModelProperty(value = "宝宝性别")
    private String gender;
    @ApiModelProperty(value = "出生日期")
    private Date birthday;
    @ApiModelProperty(value = "身高")
    private Integer height;
    @ApiModelProperty(value = "体重")
    private Integer weight;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "用户id")
    private Integer userId;
}
